package com.molichuxing.services.infrastructure.service;

import java.util.List;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.request.create.AdvertisingInfoCreateDto;
import com.molichuxing.services.infrastructure.dto.request.modify.AdvertisingInfoModifyDto;
import com.molichuxing.services.infrastructure.dto.response.AdvertisingInfoDto;

/**
 * @Author: renzhengyu
 * @Description: 广告
 * @Date: Created in 11:09 2019/10/30
 * @Modified By:
 **/
public interface AdvertisingInfoService extends RootService {

    /**
     * 根据门店id查询广告信息
     * @param storeId
     * @return
     */
    List<AdvertisingInfoDto>  getAdvertisingInfoDto(Integer storeId);
    
    /**
     * 根据广告id和标识 查询广告信息
     * @param storeId
     * @param media
     * @return
     */
    List<AdvertisingInfoDto>  getAdvertisingInfoDtoByAdvertId(Integer advertId,String media);
    
    /**
     * 新增素材信息
     * @param createDto
     * @return
     */
    Boolean create(AdvertisingInfoCreateDto createDto);
    
    /**
     * 修改素材信息
     * @param modifyDto
     * @return
     */
    Boolean modify(AdvertisingInfoModifyDto modifyDto);
}
